package com.luyun.frogpay.view.login;

import com.luyun.frogpay.base.baseclass.BaseContract;
import com.luyun.frogpay.pojo.request.RequestLogin;

import io.reactivex.Observable;

public interface LoginContract {
    interface ILoginView extends BaseContract.BaseView {
        String getAccount();
        String getPassword();
        void loginSuccess();
    }

    interface ILoginPresenter extends BaseContract.BasePresenter<ILoginView> {
        void login();
    }
    interface ILoginModel {
        Observable login(RequestLogin requestLogin);
    }
}
